<div class="subscription form">      
        <fieldset>
        <h2><?php echo __l('Subscription Image'); ?></h2>
			<div class="page-info">
				<?php echo __l('You can change the background image for the "Two Step Subscription" page.');?>
			</div>
            <?php
				echo $form->create('Subscription', array('url'=>array('action'=>'admin_subscription_customise'),'class' => 'normal', 'enctype' => 'multipart/form-data'));
				echo $form->input('SubscriptionLogo.subscription_logo', array('type' => 'file','size' => '33', 'label' => __l('Upload Background Image'), 'info' => '(Preferred 950x552)', 'class' =>'browse-field'));
				if(!empty($logo['Attachment'])){
				?>
				<div class="bgimg-input-block">
				<?php	echo $form->input('SubscriptionLogo.'.$logo['Attachment']['id'].'.id', array('type' => 'checkbox', 'id' => "admin_checkbox_".$logo['Attachment']['id'], 'label' => __l('Delete?'), 'class' => ' js-checkbox-list'));
				?>
				<div class="bg-img-subscription">
				<?php
					echo $html->showImage('PageLogo', $logo['Attachment'], array('dimension' => 'medium_thumb', 'alt' => $logo['Attachment']['description'] , 'title' => $logo['Attachment']['description']));
				}	
				?></div>
                <div class="submit-block clearfix">
                <?php echo $form->submit(__l('Update')); ?>
                    <div class = "cancel-block">
                        <?php  echo  $html->link(__l('Cancel'), array('controller' => 'subscriptions', 'action' => 'index' ), array('title' => 'Cancel'));?>
                     </div>
               </div>
            	<?php echo $form->end(); ?>
        </fieldset>
    </div>